package com.wkbb.basic.service;

import com.wkbb.basic.model.Organization;
import com.wkbb.basic.model.OrganizationWebank;
import com.wkbb.common.base.BaseService;

import java.util.List;

/**
 * @author Alger Yang
 */
public interface OrganizationWebankService extends BaseService<OrganizationWebank> {


    OrganizationWebank getOrganizationWebank();

    /**
     * 获取有效的webankappid和webanksecret
     * @return
     */
    public OrganizationWebank getValidOrganizationWebank();


    OrganizationWebank getOrganizationWebanksByOrgId(Long orgId, String weBankAppid);

    public List<OrganizationWebank> getOrganizationWebanksInProgress();
}
